﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace Colorful.Models
{
    /// <summary>
    /// 支付记录表
    /// </summary>
    public class PayOrder : BaseId
    {
        /// <summary>
        /// 支付目标对象Id
        /// </summary>
        public long TargetId { get; set; }
        /// <summary>
        /// 用户OpenId
        /// </summary>
        public string OpenId { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderId { get; set; }
        /// <summary>
        /// 付款金额
        /// </summary>
        public decimal Money { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public long ByOrder { get; set; }
        /// <summary>
        /// 付款状态：PaymentStatus
        /// </summary>
        public PaymentStatus Status { get; set; }
    }
}